package worktime.yft.demo.Controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import worktime.yft.demo.Service.CreateService;

@RestController
@CrossOrigin
public class CreateController {
    @Autowired
    private CreateService createService;

    @RequestMapping("create")
    public void CreateTables(){
        createService.CreateTables();
    }
}
